package com.study.talk.module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "InviteUserRecord对象", description = "")
public class InviteUserRecord {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("邀请记录id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("邀请用户id")
    private Integer userId;

    @ApiModelProperty("被邀请用户id")
    private Integer friendId;

    @ApiModelProperty("备注")
    private String remark;

    public InviteUserRecord(Integer userId, Integer friendId) {
        this.userId = userId;
        this.friendId = friendId;
    }
}
